
package com.bei_en.teacher.management.persistence.dao.system;

import java.util.List;
import org.apache.ibatis.session.RowBounds;
import org.springframework.stereotype.Repository;
import com.bei_en.teacher.management.model.system.bean.SystemUser;
import com.bei_en.teacher.management.model.system.condition.SystemUserCondition;
import com.bei_en.teacher.management.persistence.dao.BaseDao;

/**
 *
 * @author Longqs
 * @date 2016-6-15 14:39:11
 */
@Repository
public interface SystemUserDao extends BaseDao<SystemUser, Integer> {

    Integer findNumberByCondition(SystemUserCondition vo);

    List<SystemUser> findPageBreakByCondition(SystemUserCondition vo, RowBounds rb);

    /**
     * 返回上次插入的id，用于merge
     * @return
     */
    Integer findLastInsertedId();
}
